package latihan2;

class Tree {
	int height;
	
	Tree(){
		prt("Planting a seedling");
		height = 0;
	}
	Tree(int i) {
		prt("Creating new Tree: " + i + " feet tail");
		height = i;
	}
	
	void info(){
		prt("Tree is " + height + "fett tall");
	}
	void info(String s){
		prt(s+": Tree is" + height + "feet tall");
	}
	static void prt(String s){
		System.out.println(s);
	}
}
